package com.teamwork.module01.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.teamwork.common.entity.module01.Class;
import com.teamwork.common.entity.module01.Course;
import com.teamwork.common.result.Result;

import java.util.List;

public interface CourseService extends IService<Course> {

    List<Course> getoneCourse(Long id);


    Result getByName(String name);

    Result getPage(Integer page, Integer size);

    Result InsertOrUpdate(Course course);

    Result deleteById(Integer id);

    Result batchDelete(List<Integer> ids);


}
